import time

class Article():
    def __init__(self, id, title, content, sort, time, end):
        self.id = id
        self.title = title
        self.content = content
        self.sort = sort
        self.time = time
        self.end = end

    def nowTime(self):
        self.time = int(time.time())
